package com.yj.timecapsule.entity.diaries.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
public class DiariesVo implements Serializable {
    private Long id;
    private Long userId;
    private String userName;
    private String title;
    private String content;
    private Long likeNum;
    private Long commentNum;
    private List<String> images;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createdAt;
    private Date updatedAt;
}
